
package com.be.beadmin.design.dto.output;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.be.beadmin.common.entity.BaseEx;
import lombok.Data;

import javax.persistence.Column;

/**
* @description /
* @author zmy
* @date 2023-02-22
**/
@Data
@ContentFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
@HeadFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
public class ProductBomOverviewEx extends BaseEx{

    @ExcelIgnore
    private Integer archiveFlag;

    @ExcelProperty(value = "BOM编号",index=0)
    private String bomCode;

    @ExcelIgnore
    private String bomSequence;
    @ExcelIgnore
    private int changeStatus;
    @ExcelIgnore
    private Integer isolation;
    @ExcelProperty(value = "物料编码",index=1)
    private String materialCode;
    @ExcelProperty(value = "物料名称",index=2)
    private String materialName;
    @ExcelProperty(value = "物料规格",index=3)
    private String materialSpec;
    @ExcelIgnore
    private String partCode;
    @ExcelProperty(value = "位置号",index=7)
    private String positionNo;
    @ExcelProperty(value = "柜体编码",index=6)
    private String productCode;
    @ExcelIgnore
    private double notIssuedQty;
    @ExcelIgnore
    private double outboundQty;
    @ExcelIgnore
    private double currentClaimedQty;           // 本次接收数量
    @ExcelIgnore
    private String tenantId;
    @ExcelProperty(value = "单位",index=5)
    private String unit;
    @ExcelProperty(value = "数量",index=4)
    private Double materialQty;
    @ExcelIgnore
    private int version;
    @ExcelIgnore
    private Integer versionSecond;
    @ExcelIgnore
    private int isMax;
    @ExcelIgnore
    private String userId;
    @ExcelProperty(value = "是否甲供料",index=11)
    private String isJia;
    @ExcelProperty(value = "申请人",index=12)
    private String userName;
    @ExcelProperty(value = "物料分类",index=9)
    private String materialClassification;
    @ExcelProperty(value = "物料种类",index=10)
    private String materialType;
    @ExcelProperty(value = "物料品牌",index=8)
    private String brand;
}